package com.cz.video.website.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cz.video.website.domain.WebsiteMediaTag;
import com.cz.video.website.domain.vo.WebsiteMediaTagVo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 电影标签表 Mapper 接口
 * </p>
 *
 * @author 洪圆胜
 * @since 2023-10-15
 */
public interface WebsiteMediaTagMapper extends BaseMapper<WebsiteMediaTag> {

    /**
     * 查询视频标签分页
     *
     * @param websiteMediaTagWrapper
     * @param pageQuery
     * @return
     */
    Page<WebsiteMediaTagVo> selectPageList(@Param(Constants.WRAPPER) Wrapper<WebsiteMediaTag> websiteMediaTagWrapper,
                                           @Param("page") Page<WebsiteMediaTagVo> pageQuery);

    WebsiteMediaTagVo selectDetailInfo(Long id);
}
